<?php
require_once(dirname(__FILE__).'/config.php');
require_once(RSMSINC.'/datalistcp.class.php');
setcookie('ENV_GOBACK_URL',$rsCurUrl,time()+3600,'/');

$sql = "Select id,link,description From `#@__hotlink` order by id asc";

$dlist = new DataListCP();
$dlist->SetTemplet(RSMSADMIN."/templets/hotlink_main.htm");
$dlist->SetSource($sql);
$dlist->display();

?>